<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title>学科管理系统</title>   
		<s:include value="../common/source.jsp"></s:include>	
  </head>
  <body>
   <div class="body">
          <div class="content ui-sortable">
          <div class="list">
        项目统计
          	 </div>
          	  </div>
 <br/>
   <div class="load0">
   <a href="admin/CreateProjectStatisticsFileAction.action" ><input type="button" class="sui-btn btn-primary"value="下载Excel"></a>
 	  </div>
           <br/> 
       <hr style="background-color:#cfe1f9;height:1px;"/>
     
 	  <table class="sui-table table-primary table-sideheader">
          <thead>
             <tr>
               <th rowspan="2" style="text-align: center; vertical-align: middle;">方向名称</th>
              <th colspan="3"  style="text-align: center;">横向项目</th>
               <th colspan="4" style="text-align: center; ">纵向项目</th>      
              <th rowspan="2" style="text-align: center; vertical-align: middle;">项目总数</th>
            <th rowspan="2" style="text-align: center; vertical-align: middle;">经费（单位：万）</th>
            <th rowspan="2" style="text-align: center; vertical-align: middle;">到账经费（单位：万）</th>
            </tr>
            <tr>
            <th>100万以上</th>
            <th>50-100万</th>
            <th>50万以下</th>
            <th>国家级项目</th>
            <th>省部级项目</th>
            <th>厅局级项目</th>
            <th>校级项目</th>
            </tr>
          </thead>
          <tbody>
         <s:iterator value="counts">
           <tr>
              <td>
              <s:if test="get(0)==0"><a href="admin/CountToSearchProjectAction.action?direction=0">控制理论与控制工程</a></s:if>
              <s:elseif test="get(0)==1"><a href="admin/CountToSearchProjectAction.action?direction=1">机器人系统与智能装备</a></s:elseif>
              <s:elseif test="get(0)==2"><a href="admin/CountToSearchProjectAction.action?direction=2">模式识别与智能系统</a></s:elseif>
              <s:elseif test="get(0)==3"><a href="admin/CountToSearchProjectAction.action?direction=3">综合自动化与智能交通</a></s:elseif>
              </td>
              <td><s:property value="get(1)"/></td>
              <td><s:property value="get(2)"/></td>
              <td><s:property value="get(3)"/></td>
              <td><s:property value="get(4)"/></td>
              <td><s:property value="get(5)"/></td>
              <td><s:property value="get(6)"/></td>
              <td><s:property value="get(7)"/></td>
              <td><s:property value="get(1)+get(2)+get(3)+get(4)+get(5)+get(6)+get(7)"/></td>        
              <td><s:property value="get(8)"/></td>
              <td><s:property value="get(9)"/></td>
            </tr>
            </s:iterator>
          </tbody>
        </table>
        </div>
        </body>
</html>